package com.wn.aop2;



public class HelloImpl implements Hello {
    @Override
    public void sayHello(String s) {
        System.out.println(s);
    }

    @Override
    public void display() {
        System.out.println("滴滴滴");
    }

    @Override
    public void add() throws Exception{
        try {
            String msg1 = null;
            msg1.toString();
        }catch (Exception ex){
            throw new Exception(ex.getMessage());
        }
    }

}
